public class Demo3Null {
    public static void main(String[] args) {
        String str = null;
        //对null调用方法会出现空指针异常
        System.out.println(str.split(","));
    }
}
